<template>
	<header>标题</header>
	<main v-bind="$attrs">正文</main>
	<footer>信息</footer>
</template>
 
<script setup>
	import { useAttrs } from 'vue' 
	
	const attrs = useAttrs()
	console.log(attrs) 
</script>

<style>
	.btn {
		font-size: 18px;
	}
</style>